TruncateSum
TruncateSum[sexpr,n] truncates each Sum in sexpr to have at most n terms.
TruncateSum[sexpr,{m,n,…}] truncates each multiple Sum in sexpr using the iterative specification {m,n,…}.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.